package com.liner.homework.first;

public class Fish extends Animal implements Swim{

    public Fish(String name, int age, String color) {
        super(name, age, color);
    }

    @Override
    public void eat() {

        System.out.println(name + "吃的是小虾米...");
    }

    @Override
    public void swim() {
        System.out.println(name + "在游泳...");
    }
}
